<?php
/**
 * 汇友科技
 * @copyright (c) 2017 http://www.huiyou365.net All rights reserved.
 * @author: Creatint <creatint@163.com>
 */

namespace Admin\Controller;

class ProxyController extends AdminController{
    public function index($url = null, $from = null){
        if ( !$url ){
            return false;
        }

        $file = file_get_contents(urldecode($url));
        echo $file;
    }
}